<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>cropnail - proportional thumbails of any sizes</title>
<link href="../css/cropnail.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php
$cropnails = glob('../cropnails/single-*.jpg');
foreach($cropnails as $c => $cropnail)
{
	$size = getimagesize($cropnail);
	
	$original_image = str_replace('../cropnails/single-', '../originals/', $cropnail);
	$original_size = getimagesize($original_image);
?>
<p>
	<strong>Cropnail</strong> Image: <strong><?php echo $size[0]; ?></strong>px x <strong><?php echo $size[1]; ?></strong>px
	<a href="<?php echo $cropnail; ?>">See</a>
	(
		From: <?php echo $original_size[0]; ?>px x <?php echo $original_size[1]; ?>px</a>
		<a href="<?php echo $original_image; ?>">See</a>
	)
</p>
<?php
}
?>

<p><a href="../index.php">Go back</a></p>
</body>
</html>